package hfjava;

import java.util.Scanner;

public class Abs_Test {
    public static void main(String[] args) {
        Abs num=new Abs();
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个整数");
        int ints=input.nextInt();
        num.nums(ints);
        System.out.println("请输入一个小数");
        double doubles=input.nextDouble();
        num.nums(doubles);
        System.out.println("请输入一个浮点数");
        float floats=input.nextFloat();
        num.nums(floats);
    }
}
